package com.books.model;


import java.util.List;

public class BookHomeListModel {

    private Integer code;
    private List<DataBean> data;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public  class DataBean {
        private String img;
        private String desc;
        private String hot;
        private String name;
        private String type;
        private String author;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getHot() {
            return hot;
        }

        public void setHot(String hot) {
            this.hot = hot;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "img='" + img + '\'' +
                    ", desc='" + desc + '\'' +
                    ", hot='" + hot + '\'' +
                    ", name='" + name + '\'' +
                    ", type='" + type + '\'' +
                    ", author='" + author + '\'' +
                    '}';
        }
    }
}
